<ion-view>
  <ion-header-bar class="bar bar-header header">
    <button on-touch="goback()" class="button return-btn">返回</button>
    <h1 class="title">酒款列表</h1>
    <button on-touch="go2HistoryList()" class="button hd-red-btn">历史酒单</button>
  </ion-header-bar>
  <ion-content class="gray-bg" has-bouncing="true">
        <div class="list my-order-list mt10">
            <ul>
                <li class="item myitem-checkbox product-item" ng-repeat="wine in wineList">
                    <label class="mycheckbox" on-touch="changeSelectState($index)">
                        <em class="product-item-checkbox" ng-class="{'active':wine.selected}">
                            <input type="checkbox"/>
                        </em>
                    </label>
                    <a class="item item-thumbnail-left product-item-list" ng-href="#/winedetails/{{wine.wine_id}}">
                        <div class="product-item-pic"><img ng-src="{{ENV.picPath}}{{wine.wine_img_url}}"/></div>
                        <h3 ng-bind="wine.wine_cn_name"></h3>
                        <p class="product-item-eng" ng-bind="wine.wine_en_name"></p>
                      <p class="product-item-from">{{wine.country_cn_name}}<span ng-if="wine.wine_year&&wine.wine_year!=''&&wine.wine_year!='+'&&wine.wine_year!='﹢'&&wine.wine_year!='NV'">，{{wine.wine_year}}</span></p>
                       <!-- <p class="product-item-from" >{{wine.country_cn_name}}，{{wine.wine_year}}</p>-->
                        <p>参考价：<em class="product-item-money">¥ {{getFormatNum(wine.wine_price)}} <span class="product-money-tips">仅供参考</span></em></p>
                    </a>
                </li>
            </ul>
        </div>
</ion-content>
<ion-footer-bar class="bar bar-footer footer-txt footer-white">
        <label class="mt5" style="width:60px">
          <em class="footer-checkbox" ng-class="{'active' : selectAllWine}" on-touch="selectAllWines()">
            <input type="checkbox"/>
          </em>
          全选
        </label>
  <span class="mlr10">已选择<em class="product-fix-num" ng-bind="selectWineCount" style="color:#970b34;">0</em>款酒</span>
        <span class="absolute-right" style="width:134px">
            <button class="button button-small grey-bottom-btn" type="button" ng-click="deleteRecommendWine()">删除</button>
            <button class="button button-small claret-red-btn" type="button" ng-click="createRecommendWine()">生成酒单</button>
        </span>
  <!--</div>-->
</ion-footer-bar>
</ion-view>
